package com.ssyt.ec.exam.entity;

import java.util.Date;

/**
 * @author lwj
 *
 *         2016年11月19日
 */
public class ExamPlanEntity {
	private int id;
	private Date examTimeStart;
	private Date examTimeStop;
	private String examClassroom;
	private int exam__paper__id;
	private String toUserIds;
	private int toClassId;
	private int operateUserId;
	private Date operateTime;
	private int state;
	private String memo;

	private String exam__paper__name;
	private int userId;

	public int getUserId() {
		return userId;
	}

	public void setUserId(int userId) {
		this.userId = userId;
	}

	public String getExam__paper__name() {
		return exam__paper__name;
	}

	public void setExam__paper__name(String exam__paper__name) {
		this.exam__paper__name = exam__paper__name;
	}

	public ExamPlanEntity() {
		super();
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public Date getExamTimeStart() {
		return examTimeStart;
	}

	public void setExamTimeStart(Date examTimeStart) {
		this.examTimeStart = examTimeStart;
	}

	public Date getExamTimeStop() {
		return examTimeStop;
	}

	public void setExamTimeStop(Date examTimeStop) {
		this.examTimeStop = examTimeStop;
	}

	public String getExamClassroom() {
		return examClassroom;
	}

	public void setExamClassroom(String examClassroom) {
		this.examClassroom = examClassroom;
	}

	public int getExam__paper__id() {
		return exam__paper__id;
	}

	public void setExam__paper__id(int exam__paper__id) {
		this.exam__paper__id = exam__paper__id;
	}

	public String getToUserIds() {
		return toUserIds;
	}

	public void setToUserIds(String toUserIds) {
		this.toUserIds = toUserIds;
	}

	public int getToClassId() {
		return toClassId;
	}

	public void setToClassId(int toClassId) {
		this.toClassId = toClassId;
	}

	public int getOperateUserId() {
		return operateUserId;
	}

	public void setOperateUserId(int operateUserId) {
		this.operateUserId = operateUserId;
	}

	public Date getOperateTime() {
		return operateTime;
	}

	public void setOperateTime(Date operateTime) {
		this.operateTime = operateTime;
	}

	public String getState() {
		if (state == 1) {
			return "启用";
		} else if (state == 2) {
			return "待启用";
		} else if (state == 3) {
			return "已删除";
		} else {
			return null;
		}
	}

	public void setState(int state) {
		this.state = state;
	}

	public String getMemo() {
		return memo;
	}

	public void setMemo(String memo) {
		this.memo = memo;
	}

}
